package com.ruoyi.system.mapper.vant.order;

import com.ruoyi.system.domain.zhuangxiumain.orderformMain.OrderRetreat;

import java.util.List;

/**
 * Created by 惠普 on 2020/12/26 17:59
 */
public interface ApiOrderRetreatMapper {
    /**
     * 添加退货信息
     * @param orderRetreat
     * @return
     */
    public int addOrderRetreat(OrderRetreat orderRetreat);

    /**
     * 根据id查询退货信息
     * @param orderId
     * @return
     */
    public OrderRetreat selectOrderRetreatById(Integer orderId);


    /**
     * 查询申请退货列表
     *
     * @param orderRetreat 申请退货
     * @return 申请退货集合
     */
    public List<OrderRetreat> selectOrderRetreatList(OrderRetreat orderRetreat);

    /**
     * 修改申请退货
     *
     * @param orderRetreat 申请退货
     * @return 结果
     */
    public int updateOrderRetreat(OrderRetreat orderRetreat);


    OrderRetreat orderRetreatById(Integer orderRetreatId);

    OrderRetreat selectById(Integer orderId);
}
